package com.guiji.quartz.task;

import com.guiji.quartz.domain.Aninews;
import com.guiji.quartz.domain.Bleedingcool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @date 2022/1/10 11:48
 */
@Component("bleedingcoolTask")
public class BleedingcoolTask {
	private static final Logger log = LoggerFactory.getLogger(BleedingcoolTask.class);
	public void bleedingcoolTask() throws Exception {
		log.info("BleedingcoolTask-start");
		Long startTime = System.currentTimeMillis();
		Bleedingcool bleedingcool = new Bleedingcool();
		try {
			bleedingcool.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("BleedingcoolTask-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
